﻿/*using System.ServiceModel;
using System.Collections.Generic;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.ServiceModel.Channels;
using System.Data;

[GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[ServiceContractAttribute(ConfigurationName = "IIntexReptServBL", 
    CallbackContract = typeof(IIntexReptServBLCallback), 
    SessionMode = SessionMode.Required)]
public interface IIntexReptServBL
{

    [OperationContractAttribute(Action = "http://tempuri.org/IIntexReptServBL/GetDataSetByQuery",
        ReplyAction = "http://tempuri.org/IIntexReptServBL/GetDataSetByQueryResponse")]
    DataSet GetDataSetByQuery(Dictionary<string, object> dicSrcParamater);

    [OperationContractAttribute(Action = "http://tempuri.org/IIntexReptServBL/RequestAgentStart", 
        ReplyAction = "http://tempuri.org/IIntexReptServBL/RequestAgentStartResponse")]
    System.Data.DataSet RequestAgentStart(Dictionary<string, object> dicSrcParamater);

    [OperationContractAttribute(Action = "http://tempuri.org/IIntexReptServBL/StartAgentListen", 
        ReplyAction = "http://tempuri.org/IIntexReptServBL/StartAgentListenResponse")]
    void StartAgentListen(Dictionary<string, object> dicSrcParamater);
}

[GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IIntexReptServBLCallback
{

    [OperationContractAttribute(IsOneWay = true, Action = "http://tempuri.org/IIntexReptServBL/NotifyClient")]
    void NotifyClient(string WFHANDLER,string WFID);
}

[GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IIntexReptServBLChannel : IIntexReptServBL, IClientChannel
{
}

[DebuggerStepThroughAttribute()]
[GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class IntexReptServBLClient : DuplexClientBase<IIntexReptServBL>, IIntexReptServBL
{
    private string m_AgentID = "AGENTID-1";
    public string AgentID
    {
        get
        {
            return m_AgentID;
        }
        set
        {
            m_AgentID = value;
        }
    }
    public bool BYAGENT = false;
    public IntexReptServBLClient(InstanceContext callbackInstance) :
        base(callbackInstance)
    {
    }

    public IntexReptServBLClient(InstanceContext callbackInstance, string endpointConfigurationName) :
        base(callbackInstance, endpointConfigurationName)
    {
    }

    public IntexReptServBLClient(InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) :
        base(callbackInstance, endpointConfigurationName, remoteAddress)
    {
    }

    public IntexReptServBLClient(InstanceContext callbackInstance, string endpointConfigurationName, EndpointAddress remoteAddress) :
        base(callbackInstance, endpointConfigurationName, remoteAddress)
    {
    }

    public IntexReptServBLClient(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress) :
        base(callbackInstance, binding, remoteAddress)
    {
    }

    public DataSet GetDataSetByQuery(Dictionary<string, object> dicSrcParamater)
    {
        if (BYAGENT)
        {
            if (!dicSrcParamater.ContainsKey("AGENTID"))
            {
                dicSrcParamater.Add("AGENTID", m_AgentID);
            }
        }
        return base.Channel.GetDataSetByQuery(dicSrcParamater);
    }

    public DataSet RequestAgentStart(Dictionary<string, object> dicSrcParamater)
    {
        return base.Channel.RequestAgentStart(dicSrcParamater);
    } 
    public void StartAgentListen(System.Collections.Generic.Dictionary<string, object> dicSrcParamater)
    {
        if (BYAGENT)
        {
            if (!dicSrcParamater.ContainsKey("AGENTID"))
            {
                dicSrcParamater.Add("AGENTID", m_AgentID);
            }
        }
        base.Channel.StartAgentListen(dicSrcParamater);
    }
}
*/